package com.mujin.keji.collectionsystem.module.tripplan.vo;

import java.io.Serializable;


/**
 * 封装了起始结束的经纬度坐标
 *
 * @author weishixiong
 * @Time 2018-04-10
 */

public class LatLonVo implements Serializable {
    private double currentLat;//当前位置的维度
    private double currentLon;//当前位置的维度
    private double targetLat;//目标位置的经度
    private double targetLon;//目标位置的经度
    private String targetAdress;

    public LatLonVo(double currentLat, double currentLon, double targetLat, double targetLon, String targetAdress) {
        this.currentLat = currentLat;
        this.currentLon = currentLon;
        this.targetLat = targetLat;
        this.targetLon = targetLon;
        this.targetAdress = targetAdress;
    }

    public String getTargetAdress() {
        return targetAdress;
    }

    public void setTargetAdress(String targetAdress) {
        this.targetAdress = targetAdress;
    }

    @Override
    public String toString() {
        return "LatLonVo{" +
                "currentLat=" + currentLat +
                ", currentLon=" + currentLon +
                ", targetLat=" + targetLat +
                ", targetLon=" + targetLon +
                '}';
    }

    public LatLonVo() {
    }


    public double getCurrentLat() {
        return currentLat;
    }

    public void setCurrentLat(double currentLat) {
        this.currentLat = currentLat;
    }

    public double getCurrentLon() {
        return currentLon;
    }

    public void setCurrentLon(double currentLon) {
        this.currentLon = currentLon;
    }

    public double getTargetLat() {
        return targetLat;
    }

    public void setTargetLat(double targetLat) {
        this.targetLat = targetLat;
    }

    public double getTargetLon() {
        return targetLon;
    }

    public void setTargetLon(double targetLon) {
        this.targetLon = targetLon;
    }
}
